package com.cy.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.cy.pojo.Tablepojo;

@Mapper
public interface Tabledao {
	
	@Select("select * from tab where table_id=#{id}")
	Tablepojo selectRo(String id);
	@Select("select COUNT(*) from tab where table_id=#{id}")
	int cotable(String id);
}
